home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2323 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.0 KB

  1. Path: oxy.rust.net!usenet
  2. From: ebennett@rust.net
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Help! how do I specify a DLL to use with Visual C++?
  5. Date: Wed, 17 Jan 1996 05:58:21 GMT
  6. Organization: Rust Net - High Speed Internet in Detroit  810-642-2276
  7. Message-ID: <4dhoit$ioj@oxy.rust.net>
  8. References: <4dgck4$t29@alterdial.UU.NET>
  9. NNTP-Posting-Host: liv-10.rust.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. root <ravi@dynacs.com> wrote:
  13.  
  14. >I am trying to link some source that uses code from a vendor 
  15. >provided DLL. How do I tell the Visual C++ linker that the DLL file
  16. >contains the unresolved references?
  17.  
  18. >If I force the generation of an exe (w/ unresolved references),
  19. >and try to run it, I get an access violation.
  20.  
  21. Generally this is done via an Import Library.  This is a .LIB file,
  22. usually provided by the vendor of the DLL, which you include in your
  23. link command for your program.
  24.  
  25. If the vendor did not supply such a library, there should be a program
  26. called IMPLIB in the VC++ directories somewhere which can be used to
  27. create it.
  28.  
  29. Earl
  30.  
  31.  
  32.